import {defineAsyncComponent} from 'vue';
const modules = import.meta.glob('./**/*.vue')
for (const path in modules) {
    if(path.includes("View")){
        let name=path.split('/').pop().split('.')[0];
        window.app.component(name, defineAsyncComponent(modules[path]))
    }
}
